package com.soft.hwx.scdapp.msg;


/*  响应信息 装订完成
55 AA 60 B2 02 00 00 00 02 01 03 01 00 00 D0 07 01 00 02 00 D0 07 D0 07 D0 07 02 00 05 00 06 00 05 00 03 00 04 00 02 00 00 00 00 07 00 08 00 00 00 00 00 00 00 00 00 0B 00 0C 00 00 00 09 00 0A 00 03 00 00 00 00 0D 00 0E 00 00 00 00 00 00 00 00 00 11 00 12 00 00 00 0F 00 10 00 00 00 00 00 00 00 00 2E
*
* */

public class HostSetArgsRspMsg extends RawMsg{
    private  byte[] frameHead = new byte[2];
    private  byte  length;
    private  byte result;
    private  byte status;

    private  int sendCount;
    private  byte setCount;
    private  byte tartgetNum;

    private byte t1Sn;   //目标1 序号

    //private short  reserved1;
    //private short  reserved2;

    private short t1UpperLimitCarrierFreq ;   //目标1  载频上限
    private short t1LowerLimitCarrierFreq ;   //目标1  载频下限

    //private short  reserved1;
    //private short  reserved2;
    //private short  reserved1;
    //private short  reserved2;

    private short t1UpperLimitRepeatedPeriodic;  //目标1  重复周期值上限
    private short t1LowerLimitRepeatedPeriodic;  //目标1  重复周期值下限

    //private short  reserved2;

    private short  t1UpperLimitPulseWidth;     //目标1   脉宽上限
    private short  t1LowerLimitPulseWidth;     //目标1   脉宽下限

    private byte t2Sn;   //目标2 序号
    //private short  reserved1;
    //private short  reserved2;

    private short t2UpperLimitCarrierFreq ;   //目标2  载频上限
    private short t2LowerLimitCarrierFreq ;   //目标2  载频下限

    //private short  reserved1;
    //private short  reserved2;
    //private short  reserved1;
    //private short  reserved2;

    private short t2UpperLimitRepeatedPeriodic;  //目标2  重复周期值上限
    private short t2LowerLimitRepeatedPeriodic;  //目标2  重复周期值下限

    //private short  reserved2;

    private short  t2UpperLimitPulseWidth;     //目标2   脉宽上限
    private short  t2LowerLimitPulseWidth;     //目标2   脉宽下限

    //private short  reserved1;
    //private short  reserved2;

    private byte t3Sn;   //目标2 序号
    //private short  reserved1;
    //private short  reserved2;

    private short t3UpperLimitCarrierFreq ;   //目标3  载频上限
    private short t3LowerLimitCarrierFreq ;   //目标3  载频下限

    //private short  reserved1;
    //private short  reserved2;
    //private short  reserved1;
    //private short  reserved2;

    private short t3UpperLimitRepeatedPeriodic;  //目标3  重复周期值上限
    private short t3LowerLimitRepeatedPeriodic;  //目标3  重复周期值下限

    //private short  reserved2;

    private short  t3UpperLimitPulseWidth;     //目标3   脉宽上限
    private short  t3LowerLimitPulseWidth;     //目标3   脉宽下限

    //private short  reserved1;

    public byte getStatus(){
        return status;
    }

    public byte getResult(){
        return result;
    }

    public HostSetArgsRspMsg(RawMsg msg){
        Copy(msg);
        result = msg.buf[3];
        status = msg.buf[4];
    }

}
